package com.stylefeng.guns.modular.system.model;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author godrui
 * @since 2020-06-05
 */
@TableName("channel_action_info")
@Data
public class VpnChannelActionInfo extends Model<VpnChannelActionInfo> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 渠道号
     */
    @TableField("channel_no")
    private String channelNo;
    /**
     * 渠道的动作类型：1-下载，2-注册，3-付费
     */
    @TableField("action_type")
    private Integer actionType;
    /**
     * 渠道事件添加时间
     */
    @TableField("create_time")
    private Date createTime;



    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
